﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FyCacheClient.Msg
{
    public class SubscribeMessage
    {
        /// <summary>
        /// 推送的主题
        /// </summary>
        public string PublishTopic { get; set; }

        /// <summary>
        /// 订阅的主题，可能会包含通配符
        /// </summary>
        internal string SubscribeTopic { get; set; }

        /// <summary>
        /// 客户端的Id（推送和订阅专用）
        /// </summary>
        public byte[] ClientId { get; set; }

        /// <summary>
        /// 收到的数据
        /// </summary>
        public byte[] Message { get; set; }
    }
}
